<div id="myCarousel" class="carousel slide" style="margin-left:400px;margin-right:400px;height:94%;">
  
    <h1 align="center" style="color:#8B9EDA;">Ram Weds Sita</h1>
  
  <div class="carousel-inner" style="margin-top:-73px;height: 450px;">
  	<?php 
		$photos=Photo::model()->findAll();
		foreach ($photos as $photo) {
	?>
    <div class="item" algin="center" style="margin-top:100px;"><img src="<?php echo Yii::app()->baseUrl; ?>/photos/<?php echo $photo->photo_name; ?>" width="550" height="400"></div>
    <?php } ?>
    
  </div>
  <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
  <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
</div>
